<html>
new score<br/>
<% form_for @s do |score| %>
<%=score.hidden_field :player_id %>
<%=score.hidden_field :board_id %>
Position: <%=score.select :hand_id, {:North => 0, :South => 1, :East => 2, :West => 3} %><br/>
Score: <%=score.text_field :score %><br/>
Contract<br/>
Suit: <%=score.select :contract_suit, [:Clubs, :Diamonds, :Hearts, :Spades] %><br/>
Tricks (1-7): <%=score.text_field :contract_tricks %> <br/>
Vulnerable: <%=score.check_box :vuln%>
Doubled: <%=score.check_box :doubled %>
Redoubled: <%=score.check_box :redoubled %>

<%=score.submit%>
<%end%>
<% unless @s.hand_id.nil?%>
	hand: <%=@b.hand(@s.hand_id)%>
<% end %>
<br/>
<%= link_to "back", players_path%>
</html>

